import { RouteRecordRaw } from 'vue-router';

const baseRoutes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'home',
    meta: {
      title: '首页',
      isMenu: true
    },
    component: () => import('@/pages/home.vue')
  },
  {
    path: '/address',
    name: 'address',
    meta: {
      title: '园区地址',
      isMenu: true
    },
    component: () => import('@/pages/address.vue')
  },
  {
    path: '/msg',
    name: 'msg',
    meta: {
      title: '消息',
      isMenu: true
    },
    component: () => import('@/pages/msg.vue')
  },
  {
    path: '/notice',
    name: 'notice',
    meta: {
      title: '小喇叭通告',
      isMenu: true
    },
    component: () => import('@/pages/notice.vue')
  },
  {
    path: '/guide',
    name: 'guide',
    meta: {
      title: '入驻指南',
      isMenu: true
    },
    component: () => import('@/pages/guide.vue')
  },
  {
    path: '/parkIntroduction',
    name: 'parkIntroduction',
    meta: {
      title: '园区介绍',
      isMenu: true
    },
    component: () => import('@/pages/parkIntroduction.vue')
  },
  {
    path: '/enterprisePolicy',
    name: 'enterprisePolicy',
    meta: {
      title: '企业政策',
      isMenu: true
    },
    component: () => import('@/pages/enterprisePolicy.vue')
  },
  {
    path: '/serviceTelephone',
    name: 'serviceTelephone',
    meta: {
      title: '服务电话',
      isMenu: true
    },
    component: () => import('@/pages/serviceTelephone.vue')
  },
  {
    path: '/visitorRegistration',
    name: 'visitorRegistration',
    meta: {
      title: '来访登记',
      isMenu: true
    },
    component: () => import('@/pages/visitorRegistration.vue')
  },
  {
    path: '/moreService',
    name: 'moreService',
    meta: {
      title: '更多服务',
      isMenu: true
    },
    component: () => import('@/pages/moreService.vue')
  },
]
export default baseRoutes;
